angular.module('app', [])
.controller('AppCtrl', ['$q', '$log', '$scope', function ($q, $log, $scope) {
	$scope.haha = 'abc';
	var pawel = new Person('Oscar', $log);
	var pizzaPit = new Restaurant($q, $scope);
	var pizzaDelivered = pizzaPit.takeOrder('Capricciosa');
	pizzaDelivered.then(pawel.eat('shit'), pawel.beHungry('no'));
	pizzaPit.problemWithOrder('no Capricciosa, onlyMargherita left');
}]);
